﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace CoreEx.Database.Query
{
    /// <summary>
    /// Represents the translated <see cref="IQuery"/> 
    /// </summary>
    public interface ITranslatedQuery
    {
        /// <summary>
        /// Gets or sets a <see cref="IDictionary{TKey,TValue}"/> that contains the 
        /// <see cref="IDataParameter"/> instances that has been created for constant expressions.
        /// </summary>
        IDictionary<string, IDataParameter> ImplicitParameters { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        IDictionary<string, IDataParameter> ExplicitParameters { get; set; }
        string Sql { get; set; }
    }
}
